package Entity;

public class MyExp {
    private int id = 0;
    private String stu_number = null;
    private String stu_name = null;
    private int ex_id = 0;
    private String ex_name = null;
    private int week = 0;
    private int day = 0;
    private int section = 0;
    private String roomid = null;
    private int isreport = 0;
    private int grade = 0;
    private String stuURL = null;

    private String te_number = null;
    private String te_name = null;
    private int type = 0;
    private int begweek = 0;
    private int endweek = 0;
    private String teURL = null;

    public MyExp(){}

    public MyExp(Selection s,Experiment e){
        this.id = s.getId();
        this.stu_number = s.getStu_number();
        this.stu_name = s.getStu_name();
        this.ex_id = s.getEx_id();
        this.ex_name = s.getEx_name();
        this.week = s.getWeek();
        this.day = s.getDay();
        this.section = s.getSection();
        this.roomid = s.getRoomid();
        this.isreport = s.getIsreport();
        this.grade = s.getGrade();
        this.stuURL = s.getStuURL();
        this.te_number = e.getTe_number();
        this.te_name = e.getTe_name();
        this.type = e.getType();
        this.begweek = e.getBegweek();
        this.endweek = e.getEndweek();
        this.teURL = e.getTeURL();
    }

    public MyExp(int id, String stu_number, String stu_name, int ex_id, String ex_name, int week, int day, int section, String roomid, int isreport, int grade, String stuURL, String te_number, String te_name, int type, int begweek, int endweek, String teURL) {
        this.id = id;
        this.stu_number = stu_number;
        this.stu_name = stu_name;
        this.ex_id = ex_id;
        this.ex_name = ex_name;
        this.week = week;
        this.day = day;
        this.section = section;
        this.roomid = roomid;
        this.isreport = isreport;
        this.grade = grade;
        this.stuURL = stuURL;
        this.te_number = te_number;
        this.te_name = te_name;
        this.type = type;
        this.begweek = begweek;
        this.endweek = endweek;
        this.teURL = teURL;
    }

    @Override
    public String toString() {
        return "MyExp{" +
                "id=" + id +
                ", stu_number='" + stu_number + '\'' +
                ", stu_name='" + stu_name + '\'' +
                ", ex_id=" + ex_id +
                ", ex_name='" + ex_name + '\'' +
                ", week=" + week +
                ", day=" + day +
                ", section=" + section +
                ", roomid='" + roomid + '\'' +
                ", isreport=" + isreport +
                ", grade=" + grade +
                ", stuURL='" + stuURL + '\'' +
                ", te_number='" + te_number + '\'' +
                ", te_name='" + te_name + '\'' +
                ", type=" + type +
                ", begweek=" + begweek +
                ", endweek=" + endweek +
                ", teURL='" + teURL + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getStu_number() {
        return stu_number;
    }

    public void setStu_number(String stu_number) {
        this.stu_number = stu_number;
    }

    public String getStu_name() {
        return stu_name;
    }

    public void setStu_name(String stu_name) {
        this.stu_name = stu_name;
    }

    public int getEx_id() {
        return ex_id;
    }

    public void setEx_id(int ex_id) {
        this.ex_id = ex_id;
    }

    public String getEx_name() {
        return ex_name;
    }

    public void setEx_name(String ex_name) {
        this.ex_name = ex_name;
    }

    public int getWeek() {
        return week;
    }

    public void setWeek(int week) {
        this.week = week;
    }

    public int getDay() {
        return day;
    }

    public void setDay(int day) {
        this.day = day;
    }

    public int getSection() {
        return section;
    }

    public void setSection(int section) {
        this.section = section;
    }

    public String getRoomid() {
        return roomid;
    }

    public void setRoomid(String roomid) {
        this.roomid = roomid;
    }

    public int getIsreport() {
        return isreport;
    }

    public void setIsreport(int isreport) {
        this.isreport = isreport;
    }

    public int getGrade() {
        return grade;
    }

    public void setGrade(int grade) {
        this.grade = grade;
    }

    public String getStuURL() {
        return stuURL;
    }

    public void setStuURL(String stuURL) {
        this.stuURL = stuURL;
    }

    public String getTe_number() {
        return te_number;
    }

    public void setTe_number(String te_number) {
        this.te_number = te_number;
    }

    public String getTe_name() {
        return te_name;
    }

    public void setTe_name(String te_name) {
        this.te_name = te_name;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getBegweek() {
        return begweek;
    }

    public void setBegweek(int begweek) {
        this.begweek = begweek;
    }

    public int getEndweek() {
        return endweek;
    }

    public void setEndweek(int endweek) {
        this.endweek = endweek;
    }

    public String getTeURL() {
        return teURL;
    }

    public void setTeURL(String teURL) {
        this.teURL = teURL;
    }
}
